<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>docker常用命令 | kuikui</title><meta name="keywords" content="docker"><meta name="author" content="Kuikui Hu"><meta name="copyright" content="Kuikui Hu"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta http-equiv="Cache-Control" content="no-transform"><meta http-equiv="Cache-Control" content="no-siteapp"><meta name="description" content="作者: kuikui  一些doker的命令,后续继续补充  docker的主要组成部分docker是传统的CS架构分为docker client和docker server,向mysql一样 docker的镜像管理 123456789101112131415161718192021222324252627282930查看镜像列表:docker imagesdocker image ls导出镜">
<meta property="og:type" content="article">
<meta property="og:title" content="docker常用命令">
<meta property="og:url" content="https://kuikui1998.gitee.io/2020/12/09/docker%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/index.html">
<meta property="og:site_name" content="kuikui">
<meta property="og:description" content="作者: kuikui  一些doker的命令,后续继续补充  docker的主要组成部分docker是传统的CS架构分为docker client和docker server,向mysql一样 docker的镜像管理 123456789101112131415161718192021222324252627282930查看镜像列表:docker imagesdocker image ls导出镜">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://gitee.com/kuikui1998/images_ben/raw/master/images/tools/docker.jpg">
<meta property="article:published_time" content="2020-12-09T09:25:56.000Z">
<meta property="article:modified_time" content="2020-12-09T09:29:49.694Z">
<meta property="article:author" content="Kuikui Hu">
<meta property="article:tag" content="docker">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://gitee.com/kuikui1998/images_ben/raw/master/images/tools/docker.jpg"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://kuikui1998.gitee.io/2020/12/09/docker%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css"><script>var GLOBAL_CONFIG = { 
  root: '/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  ClickShowText: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  justifiedGallery: {
    js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
    css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: false
};

var saveToLocal = {
  set: function setWithExpiry(key, value, ttl) {
    const now = new Date()
    const expiryDay = ttl * 86400000
    const item = {
      value: value,
      expiry: now.getTime() + expiryDay,
    }
    localStorage.setItem(key, JSON.stringify(item))
  },

  get: function getWithExpiry(key) {
    const itemStr = localStorage.getItem(key)

    if (!itemStr) {
      return undefined
    }
    const item = JSON.parse(itemStr)
    const now = new Date()

    if (now.getTime() > item.expiry) {
      localStorage.removeItem(key)
      return undefined
    }
    return item.value
  }
}</script><script id="config_change">var GLOBAL_CONFIG_SITE = { 
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2020-12-09 17:29:49'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(function () {  window.activateDarkMode = function () {
    document.documentElement.setAttribute('data-theme', 'dark')
    if (document.querySelector('meta[name="theme-color"]') !== null) {
      document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
    }
  }
  window.activateLightMode = function () {
    document.documentElement.setAttribute('data-theme', 'light')
   if (document.querySelector('meta[name="theme-color"]') !== null) {
      document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
    }
  }
  const autoChangeMode = 'false'
  const t = saveToLocal.get('theme')
  if (autoChangeMode === '1') {
    const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
    const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
    const isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
    const hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified
    if (t === undefined) {
      if (isLightMode) activateLightMode()
      else if (isDarkMode) activateDarkMode()
      else if (isNotSpecified || hasNoSupport) {
        const now = new Date()
        const hour = now.getHours()
        const isNight = hour <= 6 || hour >= 18
        isNight ? activateDarkMode() : activateLightMode()
      }
      window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) {
        if (saveToLocal.get('theme') === undefined) {
          e.matches ? activateDarkMode() : activateLightMode()
        }
      })
    } else if (t === 'light') activateLightMode()
    else activateDarkMode()
  } else if (autoChangeMode === '2') {
    const now = new Date()
    const hour = now.getHours()
    const isNight = hour <= 6 || hour >= 18
    if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
    else if (t === 'light') activateLightMode()
    else activateDarkMode()
  } else {
    if (t === 'dark') activateDarkMode()
    else if (t === 'light') activateLightMode()
  }const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
   if (asideStatus === 'hide') {
     document.documentElement.classList.add('hide-aside')
   } else {
     document.documentElement.classList.remove('hide-aside')
   }
}})()</script><meta name="generator" content="Hexo 5.2.0"></head><body><div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><div class="spinner-box"><div class="configure-border-1"><div class="configure-core"></div></div><div class="configure-border-2"><div class="configure-core"></div></div><div class="loading-word">加载中...</div></div></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="author-avatar"><img class="avatar-img" src="/img/me.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/archives/"><div class="headline">文章</div><div class="length-num">23</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/tags/"><div class="headline">标签</div><div class="length-num">11</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/categories/"><div class="headline">分类</div><div class="length-num">3</div></a></div></div></div><hr/></div></div><div id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url(https://gitee.com/kuikui1998/images_ben/raw/master/images/tools/docker.jpg)"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">kuikui</a></span><span id="menus"><span class="close" id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></span></span></nav><div id="post-info"><h1 class="post-title">docker常用命令</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2020-12-09T09:25:56.000Z" title="发表于 2020-12-09 17:25:56">2020-12-09</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2020-12-09T09:29:49.694Z" title="更新于 2020-12-09 17:29:49">2020-12-09</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E5%AE%9E%E7%94%A8%E5%B7%A5%E5%85%B7/">实用工具</a></span></div><div class="meta-secondline"> <span class="post-meta-separator">|</span><span class="post-meta-pv-cv"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><blockquote>
<p> 作者: kuikui</p>
<p> 一些doker的命令,后续继续补充</p>
</blockquote>
<h2 id="docker的主要组成部分"><a href="#docker的主要组成部分" class="headerlink" title="docker的主要组成部分"></a>docker的主要组成部分</h2><p>docker是传统的CS架构分为docker client和docker server,向mysql一样</p>
<p><strong>docker的镜像管理</strong></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br></pre></td><td class="code"><pre><span class="line">查看镜像列表:</span><br><span class="line">docker images</span><br><span class="line">docker image ls</span><br><span class="line"></span><br><span class="line">导出镜像:</span><br><span class="line">docker image save centos &gt; docker-centos6.9.tar.gz</span><br><span class="line">导入镜像:</span><br><span class="line">docker image load -i docker-centos6.9.tar.gz</span><br><span class="line">删除镜像:</span><br><span class="line">docker image rm centos:latest</span><br><span class="line"></span><br><span class="line">docker image rm 578c3</span><br><span class="line"></span><br><span class="line">搜索镜像 	docker search + 镜像名字</span><br><span class="line"></span><br><span class="line">给源中镜像打标签:</span><br><span class="line"></span><br><span class="line">docker tag nginx:latest 10.0.0.11:80&#x2F;nginx:latest</span><br><span class="line"></span><br><span class="line">推送指定镜像到docker镜像源服务器</span><br><span class="line"></span><br><span class="line">docker push 10.0.0.11:80&#x2F;nginx:latest</span><br><span class="line"></span><br><span class="line">获取镜像 (下载)	docker pull image_name</span><br><span class="line"></span><br><span class="line">官方pull	docker pull centos:6.8（没有指定版本，默认会下载最新版） 私有仓库pull	docker pull daocloud.io&#x2F;huangzhichong&#x2F;alpine-cn:latest</span><br><span class="line"></span><br><span class="line">docker history image_name   显示一个镜像的历史</span><br><span class="line"></span><br><span class="line">docker build -t &lt;image-name&gt; .   *(点一定不能去掉)#使用当前目录下的Dockerfile构建镜像</span><br></pre></td></tr></table></figure>

<p><strong>docker的容器管理</strong></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br></pre></td><td class="code"><pre><span class="line">docker -v         #查看版本</span><br><span class="line"></span><br><span class="line">docker info     #查看docker信息</span><br><span class="line"></span><br><span class="line">运行容器</span><br><span class="line"></span><br><span class="line">docker run --name 容器名 -d -p 3306:3306 mysql  docker 启动容器</span><br><span class="line">docker run image_name</span><br><span class="line">docker run -d -p 80:80 nginx:latest</span><br><span class="line">run（创建并运行一个容器） </span><br><span class="line">-d 放在后台 </span><br><span class="line">-p 端口映射 :docker的容器端口</span><br><span class="line">-P 随机分配端口</span><br><span class="line">-v 源地址(宿主机):目标地址(容器)</span><br><span class="line">docker run -it --name centos6 centos:6.9 &#x2F;bin&#x2F;bash </span><br><span class="line">-it 分配交互式的终端 </span><br><span class="line">--name 指定容器的名字 </span><br><span class="line">&#x2F;bin&#x2F;sh覆盖容器的初始命令</span><br><span class="line"></span><br><span class="line">docker run image_name  启动容器***</span><br><span class="line"></span><br><span class="line">docker stop container_id  停止容器</span><br><span class="line"></span><br><span class="line">docker kill container_name   杀死容器</span><br><span class="line"></span><br><span class="line">docker ps (-a -l -q)    查看容器列表</span><br><span class="line"></span><br><span class="line">docker container rm  &#39;docker ps -a -q&#39;   删除所有容器</span><br><span class="line"></span><br><span class="line">docker rm -f  &#39;docker ps -a -q&#96;      #删除所有容器</span><br><span class="line"></span><br><span class="line">docker ps -a  #查看容器列表</span><br><span class="line"></span><br><span class="line">docker exec -it 77cd6bef4dc9 &#x2F;bin&#x2F;bash   #进容器</span><br><span class="line"></span><br><span class="line">docker start&#x2F;stop container-id||container-name 开启&#x2F;停止 指定容器id或者容器名称的容器</span><br><span class="line"></span><br><span class="line">docker run -d -p 80:80 -v &#x2F;opt&#x2F;xiaoniao:&#x2F;usr&#x2F;share&#x2F;nginx&#x2F;html nginx:latest</span><br><span class="line"></span><br><span class="line">docker logs container-name&#x2F;container-id     #查看容器日志</span><br><span class="line"></span><br><span class="line">docker ps | grep $&#123;CONTAINER_ID&#125;    #查看容器状态</span><br><span class="line"></span><br><span class="line">docker commit ID new_image_name     #镜像打包 (保存对容器的修改)</span><br><span class="line">docker commit -m&#x3D;&quot;提交的描述信息&quot; -a&#x3D;&quot;作者&quot; 容器id  要创建的目标镜像名:[标签名]</span><br><span class="line"></span><br><span class="line">docker inspect &lt;id&#x2F;container_name&gt;   #查看容器内部详情细节</span><br><span class="line"></span><br><span class="line">docker login #登录</span><br><span class="line"></span><br><span class="line">Ctrl+P+Q     #退出而不关闭容器</span><br></pre></td></tr></table></figure>

<p>目前常用的命令整理完毕，下面是一些详细的资料用来参考：</p>
<h3 id="参考资料"><a href="#参考资料" class="headerlink" title="参考资料"></a><strong>参考资料</strong></h3><h3 id="官方英文资源"><a href="#官方英文资源" class="headerlink" title="官方英文资源"></a><strong>官方英文资源</strong></h3><p>· Docker官网：<a target="_blank" rel="noopener" href="http://www.docker.com/">http://www.docker.com</a></p>
<p>· Docker windows入门：<a target="_blank" rel="noopener" href="https://docs.docker.com/windows/">https://docs.docker.com/windows/</a></p>
<p>· Docker Linux 入门：<a target="_blank" rel="noopener" href="https://docs.docker.com/linux/">https://docs.docker.com/linux/</a></p>
<p>· Docker mac 入门：<a target="_blank" rel="noopener" href="https://docs.docker.com/mac/">https://docs.docker.com/mac/</a></p>
<p>· Docker 用户指引：<a target="_blank" rel="noopener" href="https://docs.docker.com/engine/userguide/">https://docs.docker.com/engine/userguide/</a></p>
<p>· Docker 官方博客：<a target="_blank" rel="noopener" href="http://blog.docker.com/">http://blog.docker.com/</a></p>
<p>· Docker Hub: <a target="_blank" rel="noopener" href="https://hub.docker.com/">https://hub.docker.com/</a></p>
<p>· Docker开源： <a target="_blank" rel="noopener" href="https://www.docker.com/open-source">https://www.docker.com/open-source</a></p>
<h3 id="中文资源"><a href="#中文资源" class="headerlink" title="中文资源"></a><strong>中文资源</strong></h3><p>· Docker中文网站：<a target="_blank" rel="noopener" href="http://www.docker.org.cn/">http://www.docker.org.cn</a></p>
<p>· Docker中文文档：<a target="_blank" rel="noopener" href="http://www.dockerinfo.net/document">http://www.dockerinfo.net/document</a></p>
<p>· Docker安装手册：<a target="_blank" rel="noopener" href="http://www.docker.org.cn/book/install.html">http://www.docker.org.cn/book/install.html</a></p>
<p>· 一小时Docker教程 ：<a target="_blank" rel="noopener" href="https://blog.csphere.cn/archives/22">https://blog.csphere.cn/archives/22</a></p>
<p>· Docker中文指南：<a target="_blank" rel="noopener" href="http://www.widuu.com/chinese_docker/index.html">http://www.widuu.com/chinese_docker/index.html</a></p>
<h3 id="其它资源"><a href="#其它资源" class="headerlink" title="其它资源"></a><strong>其它资源</strong></h3><p>· <a target="_blank" rel="noopener" href="https://github.com/eon01/DockerCheatSheet">Docker 快速手册！</a></p>
<p>· <a target="_blank" rel="noopener" href="http://www.runoob.com/docker/docker-tutorial.html">Docker 教程</a></p>
<p>· <a target="_blank" rel="noopener" href="http://blog.csdn.net/zhangchao19890805/article/details/52756865">MySQL Docker 单一机器上如何配置自动备份</a></p>
<p>· <a target="_blank" rel="noopener" href="https://segmentfault.com/t/docker">https://segmentfault.com/t/docker</a></p>
<p>· <a target="_blank" rel="noopener" href="https://github.com/docker/docker">https://github.com/docker/docker</a></p>
<p>· <a target="_blank" rel="noopener" href="https://wiki.openstack.org/wiki/Docker">https://wiki.openstack.org/wiki/Docker</a></p>
<p>· <a target="_blank" rel="noopener" href="https://wiki.archlinux.org/index.php/Docker">https://wiki.archlinux.org/index.php/Docker</a></p>
</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">Kuikui Hu</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://kuikui1998.gitee.io/2020/12/09/docker%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/">https://kuikui1998.gitee.io/2020/12/09/docker%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://kuikui1998.gitee.io" target="_blank">kuikui</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/docker/">docker</a></div><div class="post_share"><div class="social-share" data-image="https://gitee.com/kuikui1998/images_ben/raw/master/images/tools/docker.jpg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/2020/12/11/JVM%E7%B3%BB%E5%88%97-%E7%AC%AC1%E7%AB%A0-JVM%E4%B8%8EJava%E4%BD%93%E7%B3%BB%E7%BB%93%E6%9E%84/"><img class="prev-cover" src="https://gitee.com/kuikui1998/images_ben/raw/master/images/java/JVM/jvm.jpg" onerror="onerror=null;src='/img/404.jpg'"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">JVM系列-第1章-JVM与Java体系结构</div></div></a></div><div class="next-post pull-right"><a href="/2020/12/09/linux%E7%9A%84%E5%AE%9E%E7%94%A8%E5%91%BD%E4%BB%A4%E4%BB%A5%E5%8F%8A%E8%AF%B4%E6%98%8E/"><img class="next-cover" src="https://gitee.com/kuikui1998/images_ben/raw/master/images/tools/linux.jpg" onerror="onerror=null;src='/img/404.jpg'"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">linux的实用命令以及说明</div></div></a></div></nav></div><div class="aside_content" id="aside_content"><div class="card-widget card-info"><div class="card-content"><div class="card-info-avatar is-center"><img class="avatar-img" src="/img/me.jpg" onerror="this.onerror=null;this.src='/img/friend_404.gif'" alt="avatar"/><div class="author-info__name">Kuikui Hu</div><div class="author-info__description"></div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">23</div></a></div><div class="card-info-data-item is-center"><a href="/tags/"><div class="headline">标签</div><div class="length-num">11</div></a></div><div class="card-info-data-item is-center"><a href="/categories/"><div class="headline">分类</div><div class="length-num">3</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/kuikui1998"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/kuikui1998" target="_blank" title="Github"><i class="fab fa-github"></i></a><a class="social-icon" href="/shakuil@qq.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div></div><div class="card-widget card-announcement"><div class="card-content"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">Welcome Kuikui's Blog</div></div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="card-content"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#docker%E7%9A%84%E4%B8%BB%E8%A6%81%E7%BB%84%E6%88%90%E9%83%A8%E5%88%86"><span class="toc-number">1.</span> <span class="toc-text">docker的主要组成部分</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99"><span class="toc-number">1.1.</span> <span class="toc-text">参考资料</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%AE%98%E6%96%B9%E8%8B%B1%E6%96%87%E8%B5%84%E6%BA%90"><span class="toc-number">1.2.</span> <span class="toc-text">官方英文资源</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E4%B8%AD%E6%96%87%E8%B5%84%E6%BA%90"><span class="toc-number">1.3.</span> <span class="toc-text">中文资源</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%85%B6%E5%AE%83%E8%B5%84%E6%BA%90"><span class="toc-number">1.4.</span> <span class="toc-text">其它资源</span></a></li></ol></li></ol></div></div></div><div class="card-widget card-recent-post"><div class="card-content"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/2021/01/05/JVM%E7%B3%BB%E5%88%97-%E7%AC%AC4%E7%AB%A0-%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%A0%88/" title="JVM系列-第4章-虚拟机栈"><img src="https://gitee.com/kuikui1998/images_ben/raw/master/images/java/JVM/jvm.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="JVM系列-第4章-虚拟机栈"/></a><div class="content"><a class="title" href="/2021/01/05/JVM%E7%B3%BB%E5%88%97-%E7%AC%AC4%E7%AB%A0-%E8%99%9A%E6%8B%9F%E6%9C%BA%E6%A0%88/" title="JVM系列-第4章-虚拟机栈">JVM系列-第4章-虚拟机栈</a><time datetime="2021-01-05T07:31:58.000Z" title="发表于 2021-01-05 15:31:58">2021-01-05</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2020/12/11/JVM%E7%B3%BB%E5%88%97-%E7%AC%AC3%E7%AB%A0-%E8%BF%90%E8%A1%8C%E6%97%B6%E6%95%B0%E6%8D%AE%E5%8C%BA/" title="JVM系列-第3章-运行时数据区"><img src="https://gitee.com/kuikui1998/images_ben/raw/master/images/java/JVM/jvm.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="JVM系列-第3章-运行时数据区"/></a><div class="content"><a class="title" href="/2020/12/11/JVM%E7%B3%BB%E5%88%97-%E7%AC%AC3%E7%AB%A0-%E8%BF%90%E8%A1%8C%E6%97%B6%E6%95%B0%E6%8D%AE%E5%8C%BA/" title="JVM系列-第3章-运行时数据区">JVM系列-第3章-运行时数据区</a><time datetime="2020-12-11T07:31:58.000Z" title="发表于 2020-12-11 15:31:58">2020-12-11</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2020/12/11/JVM%E7%B3%BB%E5%88%97-%E7%AC%AC2%E7%AB%A0-%E7%B1%BB%E5%8A%A0%E8%BD%BD%E5%AD%90%E7%B3%BB%E7%BB%9F/" title="JVM系列-第2章-类加载子系统"><img src="https://gitee.com/kuikui1998/images_ben/raw/master/images/java/JVM/jvm.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="JVM系列-第2章-类加载子系统"/></a><div class="content"><a class="title" href="/2020/12/11/JVM%E7%B3%BB%E5%88%97-%E7%AC%AC2%E7%AB%A0-%E7%B1%BB%E5%8A%A0%E8%BD%BD%E5%AD%90%E7%B3%BB%E7%BB%9F/" title="JVM系列-第2章-类加载子系统">JVM系列-第2章-类加载子系统</a><time datetime="2020-12-11T06:31:58.000Z" title="发表于 2020-12-11 14:31:58">2020-12-11</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2020/12/11/JVM%E7%B3%BB%E5%88%97-%E7%AC%AC1%E7%AB%A0-JVM%E4%B8%8EJava%E4%BD%93%E7%B3%BB%E7%BB%93%E6%9E%84/" title="JVM系列-第1章-JVM与Java体系结构"><img src="https://gitee.com/kuikui1998/images_ben/raw/master/images/java/JVM/jvm.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="JVM系列-第1章-JVM与Java体系结构"/></a><div class="content"><a class="title" href="/2020/12/11/JVM%E7%B3%BB%E5%88%97-%E7%AC%AC1%E7%AB%A0-JVM%E4%B8%8EJava%E4%BD%93%E7%B3%BB%E7%BB%93%E6%9E%84/" title="JVM系列-第1章-JVM与Java体系结构">JVM系列-第1章-JVM与Java体系结构</a><time datetime="2020-12-11T00:51:56.000Z" title="发表于 2020-12-11 08:51:56">2020-12-11</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/2020/12/09/docker%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/" title="docker常用命令"><img src="https://gitee.com/kuikui1998/images_ben/raw/master/images/tools/docker.jpg" onerror="this.onerror=null;this.src='/img/404.jpg'" alt="docker常用命令"/></a><div class="content"><a class="title" href="/2020/12/09/docker%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/" title="docker常用命令">docker常用命令</a><time datetime="2020-12-09T09:25:56.000Z" title="发表于 2020-12-09 17:25:56">2020-12-09</time></div></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2021 By Kuikui Hu</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js"></script><script>var preloader = {
  endLoading: () => {
    document.body.style.overflow = 'auto';
    document.getElementById('loading-box').classList.add("loaded")
  },
  initLoading: () => {
    document.body.style.overflow = '';
    document.getElementById('loading-box').classList.remove("loaded")

  }
}
window.addEventListener('load',()=> {preloader.endLoading()})</script><div class="js-pjax"><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><script id="click-heart" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/click-heart.min.js" async="async" mobile="true"></script></div></body></html>